package com.xyh;

import com.netflix.config.ConfigurationManager;

public class ThreadMain {
    public static void main(String [] args)throws Exception{
        ConfigurationManager.getConfigInstance().setProperty("hystrix.threadpool.default.coreSize",3);
        for(int i=0 ;i<6;i++){
            MyCommand myCommand=new MyCommand(i);
            myCommand.queue();
        }
        Thread.sleep(5000);
    }
}
